package br.org.flavico.acheme.business.implementation;

import java.util.List;

import javax.inject.Inject;

import br.org.flavico.acheme.bean.Local;
import br.org.flavico.acheme.business.ILocalBC;
import br.org.flavico.acheme.persistence.dao.ILocalDAO;

public class LocalBC implements ILocalBC{

	@Inject
	ILocalDAO localDAO;
	
	@Override
	public void salvar(Local local) {
		localDAO.saveOrUpdate(local);
	}

	@Override
	public List<Local> listaLocais() {
		return localDAO.listaLocais();
	}

}
